package fruit;

/**
 * 水果工厂，创建获取水果类实例
 */

import impl.Fruit;

public class FruitFactory {

    public Fruit getFruit(String name) {
        return FruitMap.getFruit(name);
    }
}
